* {
    padding: 0;
    margin: 0;
    list-style: none;
    text-decoration: none;
}
html {
    font-size: 16px;
}

.carousel-inner {
    width: 100%;
    img {
        width: 100%;
    }
}
.box {
    // width: 1000px;
    height: 50px;
    background-color: #222;
    .container {
        padding: 0;

        // 导航栏
        .navbar-header {
            .navbar-brand {
                padding: 0 15px;
                display: flex;
                align-items: center;
            }
        }
        .navbar {
            border: none;
            margin-bottom: 0;
        }
        .navbar-wrapper {
            .navbar-brand {
                padding: 0 15px;
                > img {
                    width: 130px;
                }
            }
        }
    }
}
.c_p {
    h1,
    h2,
    h3,
    h4,
    h5 {
        line-height: 1.5;
        margin: 0;
    }
    h1 {
        font-weight: 600;
        margin-top: 6.25rem;
    }
    h3 {
        margin: 1.875rem 0;
    }
    h5 {
        margin-bottom: 1.5625rem;
    }
    h5:nth-of-type(2) {
        margin-bottom: 3.75rem;
    }
    div {
        img {
            width: 100%;
            margin-top: 14.375rem;
        }
    }
}
.c_p1 {
    background-color: #8cc11f;
    h1,
    h2,
    h3,
    h4,
    h5 {
        color: #fff;
        line-height: 1.5;
        margin: 0;
    }
    h1 {
        font-weight: 600;
        margin-top: 6.25rem;
        margin-bottom: 3.75rem;
    }
    h5 {
        margin-bottom: 1.25rem;
    }
    h5:nth-of-type(2) {
        margin-bottom: 6.25rem;
    }
    div:nth-of-type(2) {
        h1,
        h2,
        h3,
        h4,
        h5 {
            color: #fff;
            line-height: 1.5;
            margin: 0;
        }
        a {
            color: #8cc11f;
            font-size: 1.225rem;
            font-weight: 600;
        }
        h5:nth-of-type(1) {
            margin-top: 13.375rem;
        }
    }
}
.c_p2 {
    .container {
        border-bottom: 1px solid #d2d2d2;
    }
    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
        line-height: 2.5;
        margin: 0;
    }

    h3 {
        color: #8cc11f;
        margin-top: 7.5rem;
        margin-bottom: 2.3125rem;
    }
    h6 {
        text-indent: 2em;
    }
    // h6:nth-of-type(8) {
    //     margin-bottom: 3.75rem;
    // }
}

.c_p3,
.c_p4,
.c_p5,
.c_p6 {
    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
        line-height: 2.5;

        margin: 0;
    }

    h3 {
        color: #8cc11f;
        margin-top: 4.375rem;
        margin-bottom: 2.3125rem;
    }
    h6 {
        text-indent: 2em;
    }
}

.c_p7 {
    background-color: #f4f4f4;
    h1 {
        margin: 2.5rem;
    }
    ul {
        width: 100%;
        display: flex;
        align-items: center;
        margin-bottom: 1.25rem;

        background-color: #fff;
        li {
            margin: 0.625rem 0;
        }
        img {
            width: 100%;
            margin-left: -1.25rem;
        }
        p {
            margin: 0;
            margin-left: -2.75rem;
        }
    }
}

.c_c {
    background-color: #3b3b3b;
    a,
    p {
        margin: 10px 0;
        color: #75767b;
    }
    div {
        position: relative;
    }
    ul:nth-of-type(1) {
        margin: 1.25rem 0;
    }
    ul:nth-of-type(2) {
        position: relative;
        display: flex;
        justify-content: space-evenly;
        margin: 1.875rem 0;
    }
    .logo_1 {
        width: 6.25rem;
        position: absolute;
        margin: -130px 0 0 0;
        display: none;
    }
    img:first-child {
        &:hover + img {
            display: block;
        }
    }

    img:nth-child(3) {
        &:hover + img {
            display: block;
        }
    }
    img:nth-child(5) {
        &:hover + img {
            display: block;
        }
    }
}

// ipad端 >= 768px   < 992px
@media screen and (min-width: 768px) and (max-width: 991px) {
    html {
        font-size: 16px;
    }
    .box {
        height: 100%;
        .navbar-wrapper {
            .navbar {
                margin-bottom: 0;
            }
            // 语言
            #navbar {
                .dropdown {
                    position: absolute;
                    top: 0;
                    right: 50px;
                }
            }
        }
    }

    .c_p {
        img {
            margin-top: 8.2rem !important;
        }
    }

    .c_p1 {
        h1 {
            margin: 1.875rem 0;
        }
        h5:nth-of-type(2) {
            margin-bottom: 1.25rem;
        }
        div:nth-of-type(2) {
            text-align: right;
            h1 {
                margin: 1.25rem 0;
            }
            h5:nth-of-type(1) {
                margin-top: 3.125rem;
            }
            h5:nth-of-type(2) {
                margin-bottom: 1.25rem;
            }
        }
    }
}

// 移动端 < 768px
@media screen and (max-width: 765px) {
    .box {
        width: 100%;
        height: 100%;
        .navbar-wrapper {
            .navbar {
                margin-bottom: 0;
            }
            // 语言
            #navbar {
                position: absolute;
                width: 100vw;
                background-color: #222;
                .dropdown {
                }
            }
        }
    }

    .c_c {
        a,
        p {
            font-size: 12px;
            margin: 0.3125rem 0;
        }

        ul {
            margin: 0 !important;
        }
        ul:nth-child(2) {
            margin-top: 0.625rem !important;
        }
    }
    .c_p h5:nth-of-type(2) {
        margin-bottom: .625rem ;
    }
 .c_p1 ,.c_p{
     h1 {
         margin: 1.25rem 0;
         font-size: 1.5rem;
     }
     h3 {
         font-size: 1.125rem;
         margin: .625rem 0;
     }
     div {
         img {
             margin-top: 0;
             margin-bottom: .625rem;
         }
     }
   
     h5 {
         margin-bottom: .625rem;
         margin-top: 0 !important;
     }
 }
    .c_p6,
    .c_p5,
    .c_p4,
    .c_p3,
    .c_p2 {
        h3 {
            margin: 1.25rem 0;
        }
        h4 {
            line-height: 1.1;
            font-size: 1rem;
        }
    }

    .c_p7 {
        h1 {
            text-align: center;
            font-size: 1.125rem;
            margin: 0.625rem 0;
        }
        ul {
            margin-bottom: 0.625rem;
        }
        p {
            font-size: 0.75rem;
        }
    }
}
